package cn.xmy.demo01.service.impl;




import cn.xmy.demo01.dao.WeaponDao;
import cn.xmy.demo01.pojo.Weapon;
import cn.xmy.demo01.service.WeaponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.SQLException;
import java.util.List;
@Service
public class WeaponServiceImpl implements WeaponService {
    @Autowired
    WeaponDao weaponDao;

    @Override
    public List<Weapon> findByWeapon(String star, String equipment, String attribute, String obtain) throws SQLException, ClassNotFoundException {
        return weaponDao.findByWeapon(star, equipment, attribute, obtain);
    }
}
